package com.fatgirl.utils.binding
{
	/**
	 * 目标原体容器
	 * 被绑定者 
	 * @author iceman
	 * 
	 */
	public class SiteObj
	{
		public var obj:Object;
		public var proList:Array;
		public function SiteObj()
		{
			proList = new Array;
		}
		public function callBack(_e:BindingEvent):void
		{
			var key:String = proList[_e.type];
			if(obj[key] as Function) (obj[key] as Function).call(null,_e.value) else obj[key] = _e.value;
		}
	}
}